<script type="text/javascript" src="/svnapproval/js/svn_request.js"></script>

<script>



$('#repo_details').hide() ; 
$('#tabs_bar').hide() ; 


// change the appareance of tabs
$("#tabs_code").attr("class", "");
$("#tabs_pull").attr("class", "selected");

// update tabs 
$.post('/svnapproval/request/pendentcount/', function(data) 
{
	 $('#counter_pull').html(data);
});

$('#pagehead').show();




</script>

<?php 





?>

<!-- /.pull-request-head -->


  <ul class="js-hard-tabs  smalltabs">
    
    <li><a data-container-id="commits_bucket" class="" href="#">
      Commits
      <span class="icon commits-icon"></span>
      <span class="counter"><? echo sizeof($this->commits) ?></span>
    </a></li>
    
    
      <li><a data-container-id="commits_bucket" class="" href="#">
      Returns
      <span class="icon icon discussion-icon"></span>
      <span class="counter"><? echo sizeof($this->returns) ?></span>
    </a></li>
    
    
  </ul>

    <div style="" class="tab-content" id="discussion_bucket">

  <div class="discussion-stats">
    
<span class="state state-open">
  Open
</span>



<p><a href="/svnapproval/request/pendent/">All Pull Requests</a></p>

  </div>

  <div class="discussion-timeline">

    <div class="new-comments">
      

<div class="avatar-bubble js-comment-container">
  <span class="avatar"><img width="48" height="48" src="https://secure.gravatar.com/avatar/1ed0da2ff7331f2910674124c9a6108c?s=140&amp;d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"><span class="overlay size-48"></span></span>

  <div class="bubble">
    <div id="issue-3035353" class="comment starting-comment adminable">
      <div class="body">
        <p class="author"><a ><?php echo utf8_decode($this->revision->author) ?></a></p>
        <h2 class="content-title"><?php echo utf8_decode($this->revision->subject) ?></h2>
          
          
          
        <div class="clearfix ">
        <p>
<?php echo utf8_decode($this->revision->message) ?>
</p>





        </div>
      
          
          
          
          
          
      </div>
    </div>
  </div><!-- /.bubble -->
</div><!-- /.avatar-bubble -->


           
          
<? 

foreach ($this->commits as $row)
{

	
	//print_r($row) ; 
	
	//echo $row->files  ; 
	
?>          
          
<div class="avatar-bubble js-comment-container">
    <span class="avatar"><img width="48" height="48" src="https://secure.gravatar.com/avatar/1ed0da2ff7331f2910674124c9a6108c?s=140&amp;d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"><span class="overlay size-48"></span></span>
    <div class="bubble">


<!--  start commits  -->
      

<div id="commits-pushed-042b81b" class="comment commit-list-comment">
  <div class="cmeta">
    <p class="author">
      <strong class="author">
        <a >revision # <?php echo $row->revision ?> - <?php echo $row->message ?></a>
      </strong>
    </p>
    <p class="info">
      <a href="#commits-pushed-042b81b"><em class="date"><?php echo $row->date ?></em></a>
    </p>
  </div>
  <div class="body">
   
   
   
    <table width="100%" cellspacing="0" class="commits commits-condensed">
      <tbody>
      <tr>
        <td width="1%" class="commit">
          <code><a ><? echo md5($row->revision) ?></a></code>
        </td>
        <td width="1%" class="gravatar">
          <span title="jorgeluislustosa" class="gravatar"><a href="/jorgeluislustosa"><img width="16" height="16" src="https://secure.gravatar.com/avatar/1ed0da2ff7331f2910674124c9a6108c?s=140&amp;d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"></a>
        </span></td>
        <td class="message">
          <code><a class="message" ><?php  
          
          $files = explode(" ",$row->files) ; 
          
          foreach ($files as $row_file )
          {
          	if($row_file != "")
          	{ 
          		echo $row_file."<br>" ;
          	} 
          }
          
          //print_r($files) ; 
          //$row->files ?></a></code>
        </td>
        <td width="1%" class="comments">
          
        </td>
      </tr>
    


    </tbody></table>
    
    
    
    
    
  </div>
</div>




<!--  end  commits  -->




    </div>
</div>


<? } ?>

          


    </div>



  <div class="rule"></div>
        

      <div class="avatar-bubble">
        <span class="avatar">
        <img width="48" height="48" src="https://secure.gravatar.com/avatar/370cd28966fe69a5b1c14f5c9da5f536?s=140&amp;d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png">
        <span class="overlay size-48"></span></span>

<form method="post" id="pull_comment_form" data-type="json" data-remote="true" class="js-new-comment-form" ><div style="margin:0;padding:0;display:inline">
</div>          <div class="bubble">
            
            
<input type="hidden" id="cod_request" value="<? echo $_REQUEST['id']  ?>">
<input type="hidden" id="approver" value="<? echo $this->autentication->username ?>">


<div data-repository="3304370" class="comment-form previewable-comment-form previewable-comment-form-attached">
  <ul class="edit-preview-tabs inline-tabs">
    <li><a action="write" href="#write_bucket_328" class="selected">Write</a></li>
  </ul>
  <div class="tab-content" id="write_bucket_328" style="display: block;">
    <textarea data-suggester-list="comment_body_328_mentions" id="comment_body" tabindex="1" name="comment[body]"></textarea>
  </div>
  <div class="new-comments tab-content" id="preview_bucket_328" style="display: none;">
    


  </div>


</div>




          </div><!-- /.bubble -->
          
          
          
          
          
          
          
          
          
          
          <div class="form-actions">
            


  <button tabindex="3" class="classy" style="background: -moz-linear-gradient(#BD2C00, #BD2C00) repeat scroll 0 0 transparent;color: #FFFFFF;text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.3);border-color: #BD2C00 #BD2C00 #BD2C00;"  value="1" name="comment_and_close" type="button" id="reprove"><span>Reprove</span></button>

<button tabindex="2" class="classy primary" type="submit"><span>Aprove</span></button>

          </div>
          
          
          
      </div><!-- /.avatar-bubble -->

  </div><!-- /.discussion-timeline -->

  
  <div class="rule"></div>
 


</div><!-- /#discussion_bucket -->


     